<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>在线留言板</title>
</head>
<style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', 'Microsoft YaHei', system-ui, sans-serif;
            background: linear-gradient(135deg, #0f172a, #1e293b);
            color: #e2e8f0;
            padding: 20px;
            min-height: 100vh;
            line-height: 1.6;
        }
        
        .container {
            max-width: 600px;
            margin: 0 auto;
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(10px);
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(94, 234, 212, 0.1);
        }
        
        h1 {
            text-align: center;
            color: #5eead4;
            margin-bottom: 30px;
            font-weight: 600;
            font-size: 2.5rem;
            text-shadow: 0 0 10px rgba(94, 234, 212, 0.3);
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        label {
            display: block;
            margin-bottom: 10px;
            color: #5eead4;
            font-weight: 500;
            font-size: 1.1rem;
        }
        
        input[type="text"],
        textarea {
            width: 100%;
            padding: 14px;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid rgba(94, 234, 212, 0.3);
            border-radius: 8px;
            font-size: 16px;
            color: #f8fafc;
            transition: all 0.3s ease;
        }
        
        input[type="text"]:focus,
        textarea:focus {
            outline: none;
            border-color: #5eead4;
            box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2);
        }
        
        input[type="text"]::placeholder,
        textarea::placeholder {
            color: #94a3b8;
        }
        
        textarea {
            resize: vertical;
            min-height: 120px;
        }
        
        button {
            width: 100%;
            padding: 14px;
            background: linear-gradient(45deg, #0ea5e9, #5eead4);
            color: #0f172a;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
        }
        
        button:hover {
            background: linear-gradient(45deg, #0284c7, #2dd4bf);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
        }
        
        button:active {
            transform: translateY(0);
        }
        
        .required {
            color: #f87171;
        }
    </style>
<body>
    <div class="container">
        <h1>留言板</h1>
        <form action="message" method="POST">
            <div class="form-group">
                <label for="name">昵称 <span class="required">*</span></label>
                <input type="text" id="name" name="name" required placeholder="请输入您的昵称">
            </div>
            
            <div class="form-group">
                <label for="message">留言内容 <span class="required">*</span></label>
                <textarea id="message" name="message" required placeholder="请输入您的留言内容"></textarea>
            </div>
            
            <button type="submit">提交留言</button>
        </form>
    </div>
</body>
</html>